<div class="page">
    <div class="pageContent">
        <div class="pageFormContent" layoutH="56">
            <div class="panel">
                <h1>订单信息</h1>
                <div>
                    <div class="unit">
                        <label>
                            订单号
                        </label>
                        <span class="unit">{$datainfo.orderform.code}</span>
                        <a href="{:U('Orderform/view')}" data="orderform_id={$datainfo.orderform.orderform_id}" class="tbutton" target="navTab">查看</a>
                    </div>
                   <div class="unit">
                        <label>
                            商品
                        </label>
                        <span class="unit">{$datainfo.good.name}</span>
                        <a href="{:U('Good/view')}" data="good_id={$datainfo.good.good_id}" class="tbutton" target="navTab">查看</a>
                     </div>
                   <div class="unit">
                        <label>
                            评价
                        </label>
                        <span class="unit">{$sets['comment_type'][$datainfo['level']]}</span>
                     </div>
                   <div class="unit">
                        <label>
                            会员
                        </label>
                        <span class="unit">{$datainfo.member.name}</span>
                        <a href="{:U('Member/view')}" data="member_id={$datainfo.member.member_id}" class="tbutton" target="navTab">查看</a>
                     </div>
                   <div class="unit">
                        <label>
                            评价内容
                        </label>
                        <div class="detailbox">
                            {$datainfo.detail}
                        </div>
                    </div>
                   <div class="unit">
                        <label>
                            回复
                        </label>
                        <div class="detailbox">
                            {$datainfo.reply}
                            <empty name="datainfo.reply">
                                未回复
                            </empty>
                        </div>
                     </div>
                   
                    <div class="divider">
                    </div>
                    <div class="unit">
                        <label>
                            管理员回复
                        </label>
                        <div>
                            <form method="post" action="{:U('Comment/reply')}" class="pageForm required-validate" onsubmit="return validateCallback(this, doAjaxDone);">
                                <textarea rows="3" cols="80" class="required" name="reply">
                                </textarea>
                                <input type="hidden" name="comment_id" value="{$datainfo.comment_id}">
                                <div class="buttonActive">
                                    <div class="buttonContent">
                                        <button type="submit">
                                            保存
                                        </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="Button" onclick="navTab.closeCurrentTab()">
                                关闭页面
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
